package com.yeskery.nut.web.demo.config;

import com.yeskery.nut.annotation.bean.Configuration;
import com.yeskery.nut.application.NutWebConfigure;
import com.yeskery.nut.core.WebConfigurer;
import com.yeskery.nut.view.WebViewConfigure;

/**
 * Web配置
 * @author YESKERY
 * 2023/11/6
 */
@Configuration
public class WebConfig implements WebConfigurer {
    @Override
    public void configure(NutWebConfigure nutWebConfigure) {
        WebViewConfigure webViewConfigure = nutWebConfigure.getWebViewConfigure();
        webViewConfigure.setGlobalPrefix("html");
        webViewConfigure.setGlobalPostfix("btl");
    }
}
